#pragma once

#include "WorldComponent.h"

class ComTransform : public WorldComponent
{
public:
	ComTransform(const std::wstring& strName);

	~ComTransform();

	void setPosition(Vector3f const& vPosition) { m_vPosition = vPosition; }

	void setRotation(Quaternionf const& qRotation) { m_qRotation = qRotation; }

	void setScale(Vector3f const& vScale) { m_vScale = vScale; }

	const Vector3f& getPosition(Vector3f const& vPosition) { return m_vPosition; }

	const Quaternionf& getRotation(Quaternionf const& qRotation) { return m_qRotation; }

	const Vector3f& getScale(Vector3f const& vScale) { return m_vScale; }

protected:
	Vector3f		m_vPosition;

	Quaternionf		m_qRotation;

	Vector3f		m_vScale;

	Matrix4f		m_mMatrix;

};

